#include "sound.h"

namespace sleek
{
    namespace sound
    {
        sound::sound()
        {
            state = ess_null;
            type = est_null;
        }
        sound::sound(const char*, e_sound_type t, e_sound_state s)
        {
        }
        sound::~sound()
        {
            free();
        }
        /** ******************************* **/
        void sound::load(const char*)
        {
            type = est_load;
        }
        void sound::stream(const char*)
        {
            type = est_stream;
        }
        void sound::free()
        {
            type = est_null;
        }
        /** ******************************* **/
        void sound::play()
        {
            state = ess_play;
        }
        void sound::pause()
        {
            state = ess_pause;
        }
        void sound::restart()
        {
        }
        void sound::stop()
        {
            restart();
            pause();
            free();
            state = ess_stop;
        }
        /** ******************************* **/
        e_sound_state sound::getState()
        {
            return state;
        }
        e_sound_type sound::getType()
        {
            return type;
        }
        void sound::render()
        {
        }
    }
}

